import Vue from 'vue'
import App from './App'

import '../static/weui.css'
import '../static/icons.css'

import apolloClient from './lib/apolloClient'
import promiseify from './lib/promiseify'

// console.log(process.env)

Vue.config.productionTip = false
App.mpType = 'app'

const app = new Vue(App)
app.$mount()

// console.log(apolloClient)
Vue.prototype.$apollo = apolloClient
Vue.prototype.$promiseify = promiseify
Vue.prototype.$CDN = process.env.COS_CDN
